<template>
    <a-form ref="form" layout="inline" :model="model" :rules="rules" :label-width="labelWidth" :label-position="position"
        class="form-block">
        <slot />
    </a-form>
</template>
<script setup lang="ts">
defineProps({
    model: {
        type: Object,
        default: () => { }
    },
    rules: {
        type: Object,
        default: () => { }
    },
    labelWidth: {
        type: String,
        default: ''
    },
    inline: {
        type: Boolean,
        default: true
    },
    position: {
        type: String,
        default: 'right'
    }
})
</script>
  